#include<time.h>
#include<iostream>
#include"Vector.h"
#define N 600

int main()
{
    double time;
    for(int i = 1; i<=N; i++)
    {
        
        double time = 0;
        for(int j = 1; j<=N; j++ )
        {
        clock_t t1,t2;
        t1 = clock();
       
        Vector<int> vec(0,i);
        for(int k = 1; k<=j; k++)
        {
            vec.push_back(k);
        }
        t2 = clock();
        time += (double)(t2-t1);
        
        }
    std::cout<<"SPARE_CAPACITY = "<<i<<"    N = "<<N<<std::endl;
    std::cout<<"    Average Push Back Time = "<<(time/N)<<std::endl;

    }
    return 0;
}
